package com.travel.ticket.feign;

import com.travel.common.es.TicketEsModel;
import com.travel.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("travel-search")
public interface SearchFeignService {
    @PostMapping("/search/save/ticket")
    R ticketSave(@RequestBody TicketEsModel ticketEsModel);
}
